/*
 * @FileDescription: this is my vue
 * @Author: zhuxin xu
 * @Date: 2022-11-28 09:08:54
 * @LastEditors: zhuxin xu
 * @LastEditTime: 2023-01-30 10:06:13
 */
import Layout from "../view/layout";
export default [
  {
    path: "/",
    name: "Layout",
    component: Layout,
    children: [
      {
        path: "/",
        redirect: { name: "DataScreening" }
      },
      {
        path: "/dataScreening",
        name: "DataScreening",
        component: () => import("../view/dataScreening"),
        meta: {
          show: true
        }
      },

      {
        path: "/userManagement",
        name: "UserManagement",
        component: () => import("../view/userManagement"),
        meta: {
          show: true
        }
      },
      {
        path: "/text",
        name: "Text",
        component: () => import("../view/text"),
        meta: {
          show: true
        }
      },

      {
        path: "/positionManage",
        name: "PositionManage",
        component: () => import("../view/positionManage"),
        meta: {
          show: true
        }
      },
      {
        path: "/positionManage/searchPage",
        name: "SearchPage",
        component: () =>
          import("../view/positionManage/components/searchPage.vue"),
        meta: {
          show: true
        }
      },
      {
        path: "/positionManage/dataPage",
        component: () =>
          import("../view/positionManage/components/dataPage.vue"),
        name: "data",
        meta: {
          show: true
        }
      },
      {
        path: "/anmation",
        component: () => import("../view/anmation/anmation.vue"),
        name: "anmation",
        meta: {
          show: true
        }
      }
    ]
  },
  {
    path: "/login",
    name: "Login",
    component: () => import("../view/loginPage"),
    meta: {
      show: false
    }
  }
];
